#include "base/disk_file.h"

int test_file() {
  DiskFile *src = new ReadOnlyFile("/home/wuya/vim.tar.gz");
  DiskFile *dst = new AppendOnlyFile("/tmp/text.log");

  dst->CopyFrom(*src);

  delete src;
  delete dst;
}
